<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <style type="text/css">
        /* 类选择器口诀：样式点定义 结构类(class)调用 一个或多个 开发最常用 */
        .red {
            color: red;
        }

        .red3 {
            color: green;
        }

        .love1 {
            color: indigo;
        }
    </style>
</head>

<body>
    <ul>
        <li class="red">冰雨</li>
        <li class="red>快乐星球</li>
        <li class=>最炫民族风</li>
        <li class=" love1">花火</li>
        <li class="red3">江南Style</li>
    </ul>
    <div class="red">我也想变红色</div </body>

</html>